<?php

namespace App\Http\Models\Business;

use App\Http\Models\BaseModel;

class InvoiceTargetKeyProduct extends BaseModel
{
    protected $table = 'invoice_target_key_product';
    public $timestamps = false;

    public function sales_region()
    {
        return $this->belongsTo('App\Http\Models\SalesRegion', 'sales_region_code', 'code');
    }

    public function category_key_product()
    {
        return $this->belongsTo('App\Http\Models\CategoryKeyProduct', 'category_key_product_id', 'id');
    }
}
